import request from "@/utils/request.js"
// 导购佣金总览
export const apiGetStaffsEarn = (data) => {
	return request({
		url: 'Commission/getStaffsEarn',
		method: 'GET',
		data
	})
}
// 申请提现
export const apiApply = (data) => {
	return request({
		url: 'Commission/apply',
		data
	})
}
// 提现记录
export const apiApplyLog = (data) => {
	return request({
		url: 'Commission/applyLog',
		method: 'GET',
		data
	})
}
// 累计收益&&待入账明细
export const apiEarnList = (data) => {
	return request({
		url: 'Commission/earnList',
		method: 'GET',
		data
	})
}
// 订单收益概况
export const apiEarnOrder = (data) => {
	return request({
		url: 'Commission/earnOrder',
		method: 'GET',
		data
	})
}
// 订单首页列表
export const apiEarnOrderList = (data) => {
	return request({
		url: 'Commission/earnOrderList',
		method: 'GET',
		data
	})
}